import store from "../index";

store.registerModule("grade",{
    namespaced:true,
    state(){
        return {
            class:"2217",
            name:"H5-2217班"
        }
    }
})

store.registerModule(["grade","chinese"],{
    namespaced:true,
    state(){
        return {
            
            list:[
                {name:"张三",class:"2217",chinese:55},
                {name:"李四",class:"2217",chinese:66},
            ]
        }
    }
})